package domain;

import java.io.Serializable;
import java.util.Arrays;
import java.util.List;

/**
 * @author Alex
 */
class TextAlpha implements Serializable{

    private String _text;

    protected TextAlpha(String text) {
        _text = text;
    }

    protected List<String> getWordsOfTextAlpha() {
        return Arrays.asList(_text.split(" "));
    }
}

